<?php
return array(

    'URL_MODEL'         => 2, // URL访问模式
    'ACTION_SUFFIX'     =>  '', //操作方法后缀
    'URL_HTML_SUFFIX'       => '',
    'DEFAULT_ACTION' => 'index', // 默认操作名称

    //定义后台公模CSS,JS,IMAGES文件夹
    'TMPL_PARSE_STRING' =>  array(

        '__IMAGES__'    =>  WEB_URL.'/static/weixin/images',
        '__CSS__'       =>  WEB_URL.'/static/weixin/css',
        '__JS__'        =>  WEB_URL.'/static/weixin/js',
        '__COMMJS__'    =>  WEB_URL.'/static/js',
        '__WEBURL__'    =>  WEB_URL,
        '__FILESURL__'  =>  IMAGES_URL
    ),
    
    'URL_ROUTER_ON'  => true,
    'URL_MODEL'=>2,
    'URL_ROUTE_RULES'=> array(
        
        '/^wx_suipai/(\d+)$/'   =>'Suipai/index?page=:1',
        '/^suipai\/(\d+)$/'   =>'Suipai/detail?id=:1',
        '/^msglist\/(\d+)\/(\d+)$/' => 'Index/msgList?type=:1&id=:2'
    ),
    
);
